﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserManagement_MainRole : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void adduser_Click(object sender, EventArgs e)
    {
        // Response.Write("<script>var main = document.getElementById('menu');if(main){alert(main.nodesvalue.value);}</script>");

        //Response.Write("<script>alert(window.frameElement.name);</script>");

        //adduser.Attributes.Add("onclick", "var main = document.getElementById('menu');alert(main.nodesvalue.value);");

        ClientScriptManager cs = this.ClientScript;

        cs.RegisterOnSubmitStatement(this.GetType(), "adduser", "return window.confirm('Do you want to save it?');");
    }
    protected void addrr_Click(object sender, EventArgs e)
    {

        //Session.Add();
    }
}
